package com.bianguo.android.eventbuslibrary.annotation;

import com.bianguo.android.eventbuslibrary.enums.ThreadMode;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Subscribe {

    ThreadMode thread() default ThreadMode.MAIN;
}
